﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProgramCampionat.aspx.cs" Inherits="WebApplication1.ProgramCampionat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:DropDownList ID="AniCampionat" runat="server" Visible="False" OnSelectedIndexChanged ="AniCampionat_SelectedIndexChanged">
        <asp:ListItem>2011</asp:ListItem>
        <asp:ListItem Selected="True">2012</asp:ListItem>
    </asp:DropDownList>

 <asp:ListView ID="ListView_ListaMeciuri" runat="server" 
                DataKeyNames="Etapa" OnItemDataBound="ListView_ListaMeciuriPerEtapa_ItemDataBound" >                
                <ItemTemplate>                   
                   	   
	                        <h3><a href='#'>Etapa <%#Eval("etapa") %></a></h3>
	                          <div class="ContentHeadArbitri">
		                         <p>
                                     <asp:Label ID="Label1" runat="server" Text='<%#Eval("etapa") %>' Visible="False"></asp:Label>
		                             
    <asp:ListView ID="ListView_ListaMeciuriPerEtapa" runat="server" DataKeyNames="CodMeci"
    ItemPlaceHolderId="itemPlaceHolder2" >
        <ItemTemplate>
        <div class="ContentHeadMeciuri"  runat="server"> 
        <span class="UnitCost">DataMeci:  </span><span class="ModelNumber" ><%#Eval("datameci") %> </span>
        <table  border="0">
        <tr>
            <td style="vertical-align: top;">
             <span class="UnitCost" ><%# Eval("echipaGazda") %></span>
            </td>  
            <td style="vertical-align: top;">
            <span class="UnitCost" ><%# Eval("echipaOaspete") %></span>
            </td>          
        </tr>
         <tr>
            <td style="vertical-align: top;">
           <span class="ModelNumber" > <%# Eval("GoluriEchipaGazda") %></span>
            </td>  
             <td style="vertical-align: top;">
           <span class="ModelNumber" > <%# Eval("GoluriEchipaOaspete") %></span>
            </td>         
       </tr>
        
        </table>  
        </div><br />  
                     
        </ItemTemplate> 
        <LayoutTemplate>
            <div class="ContentHead" id="itemPlaceHolder2" runat="server">
            </div><br />
        </LayoutTemplate>        
    </asp:ListView>
                                     
                                     <br />                                     
                                 </p>
	                          </div>
                        
                </ItemTemplate>               

                <LayoutTemplate>
                    <div class="demo">
                       <div id="accordion">
                         
	                        <h3 runat="server" id="itemPlaceholder"><a href="#">Arbitri</a></h3>
	                          <div >
		                         <p>
		
		                         </p>
	                         </div>
                         
                      </div>
                 </div>
                </LayoutTemplate>
</asp:ListView> 
 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="left" runat="server">
</asp:Content>
